<template>
  <div class="question">
    <GeekIcon name="search"></GeekIcon>
    <input type="text" name="" id="" />
    <van-button type="primary" @click="btnClick">打开弹框</van-button>
    <!-- <IndexSon :show="show" @input="show = $event"></IndexSon> -->
    <IndexSon v-model="show"></IndexSon>
  </div>
</template>

<script>
import IndexSon from './components/indexSon.vue'
export default {
  name: 'Question',
  components: { IndexSon },
  data () {
    return {
      show: false
    }
  },
  methods: {
    btnClick () {
      this.show = true
    }
  }
}
</script>

<style lang="less" scoped></style>
